# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=sugar-activity-paint
_pkgname=paint-activity
pkgver=70
pkgrel=3
pkgdesc="Sugar activity to create paintings or drawings"
arch=('any')
url="https://wiki.sugarlabs.org/go/Activities/Paint"
license=('GPL')
groups=('sugar-fructose')
depends=('sugar-toolkit-gtk3')
source=($_pkgname-$pkgver.tar.gz::https://github.com/sugarlabs/$_pkgname/archive/v$pkgver.tar.gz)
sha256sums=('a6fb35d742b58f84c233318cfe4c2eb3b48575f4b50a34790ed10d1a2f8e4304')

prepare() {
  cd $_pkgname-$pkgver
  rm -r fill
}

package() {
  cd $_pkgname-$pkgver
  python setup.py install --prefix "$pkgdir/usr" --skip-install-desktop-file
}
